package com.ninthgroup.service;

import com.ninthgroup.entity.MessageBooking;
import com.ninthgroup.vo.Result;


/**
 * @author wch
 * @version 1.0
 * @date 2022/10/14 19:25
 */
public interface MessageBookingService {
    //查询用户所有预约信息
    Result selectAll();

    //预约用户添加
    Result insertAdd(MessageBooking messageBooking);

    //删除预约信息
    Result delecte(Integer id);

    //预约修改
    Result update(MessageBooking messageBooking);

    // 用户查询病因
    Result selectbing();


    /**
     * fetch data by show
     * @create by: 1452863884@qq.com rcg
     * @description:通过预约id保存当前医生的处理id
     * @create time: 2022/10/26 20:28
     * @param mId
     * @param dId
     * @return com.ninthgroup.vo.Result
     */
    Result saveDidAndStatus(Integer mId, Integer dId);



    Result selectBysex();

    Result selectByAge();


    Result selectByAllMoney();
}
